﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.Category>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf - Nýr Flokkur
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Bæta við nýjum flokk</h1>

    <% using (Html.BeginForm())
       { %>
             <%: Html.ValidationSummary(true) %>

             <%: Html.LabelFor(model => model.Category1)%><br />
             <%: Html.TextBoxFor(model => model.Category1)%>
             <%: Html.ValidationMessageFor(model => model.Category1)%>

             <p>
                <input type="submit" value="Bæta við í flokka" /> 
             </p>
        <%} %>


</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Actions" runat="server" >
    <%Html.RenderPartial("PartialViews/Actions", "Grein"); %>
</asp:Content>
